##计算100鸡花了100元的情况
def chickens ():
	sum = 0
	result = []
	for g in range(0,100//5+1):
		for m in range(0,100//3+1):
			x = (100-g-m)
			if  x%3 != 0:
				continue
			elif x/3 + 5 * g + m * 3 == 100:
				result.append((g,m,x))
	return result
print(chickens())
#### 计算前20个 斐波那契数列
def f1(check=20): # check 是数列长度
	result = [1,1]
	lens = len(result)
	print(lens)
	i = lens
	while len(result) < check:
		temp1 = result[i-1]
		temp2 = result[i-2]
		temp3 = temp1 + temp2
		result.append(temp3)
		i += 1
	return result
print(f1())	
	